import { RouterProvider } from "react-router-dom";
import router from "./router";
import { ConfigProvider } from "antd";
import zhCN from "antd/locale/zh_CN";
import { BountyProvider } from "./pages/community/bounty/BountyContext";

export default function App() {
  return (
    <ConfigProvider locale={zhCN}>
      <BountyProvider>
        <RouterProvider router={router} />
      </BountyProvider>
    </ConfigProvider>
  );
}
